/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Business.Region.Provincy;

import Business.Region.Hospital.Hospital;
import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author hooting
 */
public class Provincy {
	private String provincyName;
	private List<Hospital> hospitalList;	

	public Provincy(String name){
		this.provincyName  = name;
		hospitalList = new ArrayList<Hospital>();
	}
	
	public void setProvincyName(String name){
		this.provincyName = name;
	}

	public String getProvincyName(){
		return provincyName;
	}

	public List<Hospital> getHospitalList(){
		return hospitalList;
	}

	public void addHospital(Hospital h){
		hospitalList.add(h);
	}

	public void deleteHospital(Hospital h){
		hospitalList.remove(h);
	}
}
